package net.servir.capacidades.model;

import java.io.Serializable;

import net.servir.capacidades.model.Enumerados.ParameterDirection;
import net.servir.capacidades.model.Enumerados.StoredProcedureDataType;

public class StoredProcedureParameter implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3099813296206826043L;
	private StoredProcedureDataType data_type; 
	private Object value;
	private ParameterDirection direction = ParameterDirection.IN;
	
	public StoredProcedureParameter(StoredProcedureDataType dataType,
			ParameterDirection direction,Object value) {
		super();
		data_type = dataType;
		this.value = value;
		this.direction = direction;
	}
	public StoredProcedureParameter(StoredProcedureDataType dataType,
			ParameterDirection direction) {
		super();
		data_type = dataType;
		this.value = null;
		this.direction = direction;
	}

	public StoredProcedureDataType getData_type() {
		return data_type;
	}
	public void setData_type(StoredProcedureDataType dataType) {
		data_type = dataType;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	public ParameterDirection getDirection() {
		return direction;
	}
	public void setDirection(ParameterDirection direction) {
		this.direction = direction;
	}
	
	
	
}
